<div class = "TeamProjecs">
	<h2> Projects </h2>
	
		<%= link_to("New project", {:action =>'newproject' }, :class =>'new project') %>	

<table class = "listing" summary="Listing projects">
	<tr class="header">
		<th>&nbsp;</th>
		<th>Project Name</th>
		<th>Project Description</th>
		<th>Project KickOff</th>
		
	</tr>
	
	<% @teamprojects.each do |teamproject|  %>
	<tr>
		<td><%=  teamproject.project_name%></td>
		<td><%=  teamproject.project_description%></td>
		<td class = "action">
		<%= link_to("show", {:action =>'projectdashboard', :id => teamproject.id }, :class =>'Show action') %>	
			
		</td>
	</tr>
	<% end  %>
</table>
</div>